package com.itheima.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
//设置一级url
@RequestMapping("/user")
public class UserController {
    //设置二级url
    @RequestMapping("/test")
    public String test(){
        System.out.println("test...");
        return "success";
    }
}
